package com.itkang.decorate;

/**
 * <p>
 * 场景: 浓缩咖啡类
 * </p>
 *
 * @author york yuan
 * @version 1.0
 * @since 15/7/8下午3:16
 */
public class Espresso extends Beverage {


    public Espresso() {
        description = "Espresso";
    }

    /**
     * 抽象方法,用于子类继承,计算价格
     *
     * @return
     */
    @Override
    public double cost() {
        return 1.99;
    }
}
